import Vue from 'vue';
import App from './App.vue';
import VueRouter from 'vue-router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import http from './utils/httpRequest.js';

Vue.use(VueRouter);
Vue.use(ElementUI);

Vue.prototype.$http = http; // ajax请求方法

Vue.config.productionTip = false;

new Vue({
  render: h => h(App)
}).$mount('#app');
